<template>
  <div id="app">
    <transition mode="out-in" name="app" appear>
      <router-view></router-view>
    </transition>
  </div>
</template>

<script>
export default {
  name: "App"
};
</script>

<style>
#app {
  display: flex;
}

.app-enter,
.app-leave-to {
  transform: translateX(10px);
  opacity: 0;
}

.app-leave-active,
.app-enter-active {
  transition: all 0.3s ease-in;
}
</style>
